import Http, {HttpParamsProps, ReqProps} from "@/common/http";


class EntityContract {
    RowKey = "contractNo"
    DEL = "ContactDel"

    selectTablePage(props: HttpParamsProps): Promise<Response> {
        return Http.get("/api/contract/page", props)
    }
    delete(props: ReqProps<void>) {
        Http.doPost("/api/contract/delete", props)
    }

}

// eslint-disable-next-line import/no-anonymous-default-export
export default new EntityContract()